package com.ruoyi.project.system.reservation.mapper;

import com.ruoyi.project.system.reservation.domain.Reservation;
import java.util.List;	

/**
 * 预约记录 数据层
 * 
 * @author zhangshilin
 * @date 2019-06-26
 */
public interface ReservationMapper 
{
	/**
     * 查询预约记录信息
     * 
     * @param reservationId 预约记录ID
     * @return 预约记录信息
     */
	public Reservation selectReservationById(Integer reservationId);
	
	/**
     * 查询预约记录列表
     * 
     * @param reservation 预约记录信息
     * @return 预约记录集合
     */
	public List<Reservation> selectReservationList(Reservation reservation);
	
	/**
     * 新增预约记录
     * 
     * @param reservation 预约记录信息
     * @return 结果
     */
	public int insertReservation(Reservation reservation);
	
	/**
     * 修改预约记录
     * 
     * @param reservation 预约记录信息
     * @return 结果
     */
	public int updateReservation(Reservation reservation);
	
	/**
     * 删除预约记录
     * 
     * @param reservationId 预约记录ID
     * @return 结果
     */
	public int deleteReservationById(Integer reservationId);
	
	/**
     * 批量删除预约记录
     * 
     * @param reservationIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteReservationByIds(String[] reservationIds);
	
}